//
//  StatusNormalCell.swift
//  HMWeibo08
//
//  Created by 唐万超 on 15/8/5.
//  Copyright © 2015年 唐万超. All rights reserved.
//

import UIKit

class StatusNormalCell: StatusCell {

    override func setUpUI() {
        
        // 一定记住重写父类
        super.setUpUI()
        
        /// 配图约束
        let cons = pictureView.ff_AlignVertical(type: ff_AlignType.BottomLeft, referView: contentLabel, size: CGSize(width: 290, height: 290), offset: CGPoint(x: 0, y: statusCellControlMargin))
        pictureWidthCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
        pictureHeightCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)
        
        pictureTopCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Top)
        
    }

}
